home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / logoff7.zip / PCBTEST.BAT < prev   
DOS Batch File  |  1991-12-22  |  394b  |  23 lines

  1. @echo off
  2. testfile %1 arc zip
  3. if errorlevel == 98 goto end
  4. if errorlevel == 2 goto zip
  5. if errorlevel == 1 goto arc
  6.  
  7. :zip
  8. pkunzip -t %1 > pcbfail.txt
  9. if errorlevel == 1 goto end
  10. pkzip -z %1 <bbsad.txt
  11. del pcbfail.txt
  12. goto end
  13.  
  14. :arc
  15. xarc -t %1 > pcbfail.txt
  16. if errorlevel == 1 goto end
  17. del pcbfail.txt
  18. goto end
  19.  
  20. :end
  21. IF %2==UPLOAD PCBDESC /D %1 %3
  22. copy pcbtest.bat flag.001
  23.